package org.jeecg.modules.demo.taskContext.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 评论内容表
 * @Author: jeecg-boot
 * @Date:   2025-04-14
 * @Version: V1.0
 */
@Data
@TableName("t_task_context")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="t_task_context对象", description="评论内容表")
public class TTaskContext implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**笔记id*/
	@Excel(name = "笔记id", width = 15)
    @ApiModelProperty(value = "笔记id")
    private String noteId;
	/**评论id*/
	@Excel(name = "评论id", width = 15)
    @ApiModelProperty(value = "评论id")
    private String comId;
	/**评论内容*/
	@Excel(name = "评论内容", width = 15)
    @ApiModelProperty(value = "评论内容")
    private String content;
	/**点赞数*/
	@Excel(name = "点赞数", width = 15)
    @ApiModelProperty(value = "点赞数")
    private Integer likeCount;
	/**子评论数量*/
	@Excel(name = "子评论数量", width = 15)
    @ApiModelProperty(value = "子评论数量")
    private Integer subCommentCount;
	/**评论人uid*/
	@Excel(name = "评论人uid", width = 15)
    @ApiModelProperty(value = "评论人uid")
    private String comUserId;
	/**评论人昵称*/
	@Excel(name = "评论人昵称", width = 15)
    @ApiModelProperty(value = "评论人昵称")
    private String nickname;
	/**评论人Rid*/
	@Excel(name = "评论人Rid", width = 15)
    @ApiModelProperty(value = "评论人Rid")
    private String redId;
	/**定位*/
	@Excel(name = "定位", width = 15)
    @ApiModelProperty(value = "定位")
    private String ipLocation;
	/**评论发布时间*/
	@Excel(name = "评论发布时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "评论发布时间")
    private Date time;
	/**首次采集时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "首次采集时间")
    private Date createTime;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
	/**图片评论url，逗号分隔*/
	@Excel(name = "图片评论url，逗号分隔", width = 15)
    @ApiModelProperty(value = "图片评论url，逗号分隔")
    private String picturesUrl;
	/**是否已发送通知*/
	@Excel(name = "是否已发送通知", width = 15)
    @ApiModelProperty(value = "是否已发送通知")
    private Integer isNotice;
	/**查询的用户id*/
	@Excel(name = "查询的用户id", width = 15)
    @ApiModelProperty(value = "查询的用户id")
    @TableField("user_id") // 确保数据库表中的列名是 user_id
    private String userId;

}
